package com.cool.spring.dao;


import com.cool.spring.model.User;

import java.util.List;

public interface IUserDao {

    public void add(User user);

    public void update(User user);

    public void delete(int id);

    public User load(int id);

    public List<User> list();
}
